 /**
  * 
  * @param rows excel 表数据
  * @param map map 中英文映射
  * @returns 
  */
 
 export  function formatData(rows:any,map:any) {
   const data = rows.map((obj:any) => {
       return findKey(obj,map)
   })
   
   return data
 }

 function findKey(item:any,map:any){
    let newObj:any = new Object()
    for(let key in item){
        newObj[map[key]] = item[key]
    }
    return newObj
 }